package edu.sctu.practice.class02.xuejiahua.practise.test02;

/**
 * Created by Dom_xuejiahua on 2015/11/20.
 */

//创建另一个类老师所教学生Student，该类有学号，姓名，成绩，年龄，性别，住址。
public class Student {
    public int studentID;
    public String name;
    public double grade;
    public int age;
    public String sex;
    public String address;

    public Student(int studentID, String name, double grade, int age, String sex, String address) {
        this.studentID = studentID;
        this.name = name;
        this.grade = grade;
        this.age = age;
        this.sex = sex;
        this.address = address;
    }

   public int getStudentID(){return studentID;}
   public String getName(){return name;}
   public double getGrade(){return grade;}
   public int getAge(){return age;}
   public String getSex(){return sex;}
   public String getAddress(){return address;}


}